let obj = {
    a: 1,
    b: 2,
    c:3
}
console.log(obj.a)
console.log(obj["a"])


var key  = "hobby";
obj[key] = 'love you'
console.log(obj)